package com.online_vote_system.demo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 管理员表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {
    @TableId(value = "admin_id",type = IdType.AUTO)
    private Integer adminId;
    @TableField(value = "admin_type")
    private String adminType;
    @TableField(value = "admin_name")
    private String adminName;
    @TableField(value = "admin_pass")
    private String adminPass;
}
